package com.bflow.api.bo;

import java.io.Serializable;
import java.util.List;

/**
 * 功能：BflowRunInstance 流程实例-BO(business object)业务对象
 * 作者：haowen
 * 日期：2018-12-13
 */
public class BflowRunInstanceBo implements Serializable {

    private static final long serialVersionUID = -622229976534939493L;
	
    /**
     * 流程实例ID
	 */
	private String id;

    /**
     * 流程定义KEY
	 */
	private String procKey;

    /**
     * 业务KEY
	 */
	private String busiKey;

    /**
     * 业务ID
	 */
	private String busiId;

    /**
     * 子业务ID
	 */
	private String busiSubId;

    /**
     * 发起人ID
	 */
	private String startUid;

    /**
     * 发起人
	 */
	private String startUname;

    /**
     * extBigint1
	 */
	private Long extBigint1;

    /**
     * extBigint2
	 */
	private Long extBigint2;

    /**
     * extBigint3
	 */
	private Long extBigint3;

    /**
     * extBigint4
	 */
	private Long extBigint4;

    /**
     * extVarchar1
	 */
	private String extVarchar1;

    /**
     * extVarchar2
	 */
	private String extVarchar2;

    /**
     * extVarchar3
	 */
	private String extVarchar3;

    /**
     * extVarchar4
	 */
	private String extVarchar4;

    /**
     * extVarchar5
	 */
	private String extVarchar5;

    /**
     * extVarchar6
	 */
	private String extVarchar6;

    /**
     * extVarchar7
	 */
	private String extVarchar7;

    /**
     * extVarchar8
	 */
	private String extVarchar8;

    /**
     * extVarchar9
	 */
	private String extVarchar9;

    /**
     * extVarchar10
	 */
	private String extVarchar10;

    /**
     * extVarchar11
	 */
	private String extVarchar11;

    /**
     * extVarchar12
	 */
	private String extVarchar12;

    /**
     * extDatetime1
	 */
	private java.util.Date extDatetime1;

    /**
     * extDatetime2
	 */
	private java.util.Date extDatetime2;

    /**
     * extDatetime3
	 */
	private java.util.Date extDatetime3;

    /**
     * extDatetime4
	 */
	private java.util.Date extDatetime4;

    /**
     * extNumeric1
	 */
	private java.math.BigDecimal extNumeric1;

    /**
     * extNumeric2
	 */
	private java.math.BigDecimal extNumeric2;

    /**
     * 流程状态：finish=已完成；run=执行中; cancel=撤销
	 */
	private String status;

    /**
     * 流程结束时间
	 */
	private java.util.Date endTime;

    /**
     * 备注
	 */
	private String remarks;

    /**
     * 创建时间
	 */
	private java.util.Date createTime;

    /**
     * 更新时间
	 */
	private java.util.Date updateTime;

	/** 版本号 */
	private Integer version;

	/**
	 * 首个处理人 id/key
	 */
	private String firstAssignee;

	/**
	 * 最终结论：pass=通过；noPass=未通过;
	 */
	private String finalConclusion;

	//扩展
	/**
	 * 业务数据处理记录
	 */
	private List<BflowRunRecordBo> records;

	/**
	 * 发起人角色名称
	 */
	private String startURoleName;

	/**
	 * 流程状态名称
	 */
	private String statusName;


	private BflowDefineProcessBo process;


	private BflowDefineActBo currAct;

	/**
	 * 抄送人姓名集合
	 */
	private String copyToUserName;


	public BflowRunInstanceBo(){
	}



	public BflowRunInstanceBo(String id ){
		this.id = id;
	}

	public String getId() {
		return this.id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getProcKey() {
		return this.procKey;
	}
	public void setProcKey(String procKey) {
		this.procKey = procKey;
	}

	public String getBusiKey() {
		return this.busiKey;
	}
	public void setBusiKey(String busiKey) {
		this.busiKey = busiKey;
	}

	public String getBusiId() {
		return this.busiId;
	}
	public void setBusiId(String busiId) {
		this.busiId = busiId;
	}

	public String getBusiSubId() {
		return this.busiSubId;
	}
	public void setBusiSubId(String busiSubId) {
		this.busiSubId = busiSubId;
	}

	public String getStartUid() {
		return this.startUid;
	}
	public void setStartUid(String startUid) {
		this.startUid = startUid;
	}

	public String getStartUname() {
		return this.startUname;
	}
	public void setStartUname(String startUname) {
		this.startUname = startUname;
	}

	public Long getExtBigint1() {
		return this.extBigint1;
	}
	public void setExtBigint1(Long extBigint1) {
		this.extBigint1 = extBigint1;
	}

	public Long getExtBigint2() {
		return this.extBigint2;
	}
	public void setExtBigint2(Long extBigint2) {
		this.extBigint2 = extBigint2;
	}

	public Long getExtBigint3() {
		return this.extBigint3;
	}
	public void setExtBigint3(Long extBigint3) {
		this.extBigint3 = extBigint3;
	}

	public Long getExtBigint4() {
		return this.extBigint4;
	}
	public void setExtBigint4(Long extBigint4) {
		this.extBigint4 = extBigint4;
	}

	public String getExtVarchar1() {
		return this.extVarchar1;
	}
	public void setExtVarchar1(String extVarchar1) {
		this.extVarchar1 = extVarchar1;
	}

	public String getExtVarchar2() {
		return this.extVarchar2;
	}
	public void setExtVarchar2(String extVarchar2) {
		this.extVarchar2 = extVarchar2;
	}

	public String getExtVarchar3() {
		return this.extVarchar3;
	}
	public void setExtVarchar3(String extVarchar3) {
		this.extVarchar3 = extVarchar3;
	}

	public String getExtVarchar4() {
		return this.extVarchar4;
	}
	public void setExtVarchar4(String extVarchar4) {
		this.extVarchar4 = extVarchar4;
	}

	public String getExtVarchar5() {
		return this.extVarchar5;
	}
	public void setExtVarchar5(String extVarchar5) {
		this.extVarchar5 = extVarchar5;
	}

	public String getExtVarchar6() {
		return this.extVarchar6;
	}
	public void setExtVarchar6(String extVarchar6) {
		this.extVarchar6 = extVarchar6;
	}

	public String getExtVarchar7() {
		return this.extVarchar7;
	}
	public void setExtVarchar7(String extVarchar7) {
		this.extVarchar7 = extVarchar7;
	}

	public String getExtVarchar8() {
		return this.extVarchar8;
	}
	public void setExtVarchar8(String extVarchar8) {
		this.extVarchar8 = extVarchar8;
	}

	public String getExtVarchar9() {
		return this.extVarchar9;
	}
	public void setExtVarchar9(String extVarchar9) {
		this.extVarchar9 = extVarchar9;
	}

	public String getExtVarchar10() {
		return this.extVarchar10;
	}
	public void setExtVarchar10(String extVarchar10) {
		this.extVarchar10 = extVarchar10;
	}

	public String getExtVarchar11() {
		return this.extVarchar11;
	}
	public void setExtVarchar11(String extVarchar11) {
		this.extVarchar11 = extVarchar11;
	}

	public String getExtVarchar12() {
		return this.extVarchar12;
	}
	public void setExtVarchar12(String extVarchar12) {
		this.extVarchar12 = extVarchar12;
	}

	public java.util.Date getExtDatetime1() {
		return this.extDatetime1;
	}
	public void setExtDatetime1(java.util.Date extDatetime1) {
		this.extDatetime1 = extDatetime1;
	}

	public java.util.Date getExtDatetime2() {
		return this.extDatetime2;
	}
	public void setExtDatetime2(java.util.Date extDatetime2) {
		this.extDatetime2 = extDatetime2;
	}

	public java.util.Date getExtDatetime3() {
		return this.extDatetime3;
	}
	public void setExtDatetime3(java.util.Date extDatetime3) {
		this.extDatetime3 = extDatetime3;
	}

	public java.util.Date getExtDatetime4() {
		return this.extDatetime4;
	}
	public void setExtDatetime4(java.util.Date extDatetime4) {
		this.extDatetime4 = extDatetime4;
	}

	public java.math.BigDecimal getExtNumeric1() {
		return this.extNumeric1;
	}
	public void setExtNumeric1(java.math.BigDecimal extNumeric1) {
		this.extNumeric1 = extNumeric1;
	}

	public java.math.BigDecimal getExtNumeric2() {
		return this.extNumeric2;
	}
	public void setExtNumeric2(java.math.BigDecimal extNumeric2) {
		this.extNumeric2 = extNumeric2;
	}

	public String getStatus() {
		return this.status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public java.util.Date getEndTime() {
		return this.endTime;
	}
	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

	public String getRemarks() {
		return this.remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getVersion() {
	 return this.version;
	}
	public void setVersion(Integer version) {
	 this.version = version;
	}


	public List<BflowRunRecordBo> getRecords() {
		return records;
	}

	public void setRecords(List<BflowRunRecordBo> records) {
		this.records = records;
	}

	public String getStartURoleName() {
		return startURoleName;
	}

	public void setStartURoleName(String startURoleName) {
		this.startURoleName = startURoleName;
	}

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	public String getFinalConclusion() {
		return finalConclusion;
	}

	public void setFinalConclusion(String finalConclusion) {
		this.finalConclusion = finalConclusion;
	}

	public BflowDefineProcessBo getProcess() {
		return process;
	}

	public void setProcess(BflowDefineProcessBo process) {
		this.process = process;
	}

	public BflowDefineActBo getCurrAct() {
		return currAct;
	}

	public void setCurrAct(BflowDefineActBo currAct) {
		this.currAct = currAct;
	}

	public String getCopyToUserName() {
		return copyToUserName;
	}

	public void setCopyToUserName(String copyToUserName) {
		this.copyToUserName = copyToUserName;
	}
}

